Find The Duplicate Number | Leetcode 287 | C++, Java, Python